package com.dp.pojo;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.apache.struts2.json.annotations.JSON;

public class NewsVo implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1024394212772164849L;
	private String contentId;					//内容id（t_contents.contentid）
	private Integer cid;						//id(news_contenttitle.cid)
	private String contentName;					//内容名称
	private String contentStatus;				//（审核）状态
	private String testStatus;					//测试状态
	private String userId;						//创建人
	private Date lastupdatetime;				//最后更新时间
	private String attachSize;					//资源（附件）大小，单位：K
	private String cause;						//（审核）未通过原因
	
	private String contentSummary;				//内容摘要
	private String contentInfo;					//新闻内容
	private String pubCompany;					//来源
	private Integer allowScoring;   			//是否允许打分
	private Integer allowComments;  			//是否允许评论
	private String contentType;					//内容类型（t_contents.content_type）:11	
	private String newstype;					//内容类型（news_contenttitle.newstype）：news
	private String contenticon;					//缩略图
	private String contentHtml;
	private boolean hasAttach;
	private String allChkValue;
	private String channelId;
	//hd news
	private String category;
	private String area;
	private String note;
	private String iconurl;
	private String keyword;
	private Integer area_province;
	private Integer area_city;
	private Integer area_county;
	private Integer area_street;
	private String address;
	private String phone;
	private String price;
	private String trade_time;
	private Integer park;
	private Integer card;
	private Integer isCommentAudit;
	private String tids;
	private String weburl;
	private List<String> test;
	public List<String> getTest() {
        return test;
    }

    public void setTest(List<String> test) {
        this.test = test;
    }

    private List<Integer> resourceRids;
	
	public List<Integer> getResourceRids() {
        return resourceRids;
    }

    public void setResourceRids(List<Integer> resourceRids) {
        this.resourceRids = resourceRids;
    }

    private int resourceRid;
    public int getResourceRid() {
        return resourceRid;
    }

    public void setResourceRid(int resourceRid) {
        this.resourceRid = resourceRid;
    }

    public String getWeburl() {
		return weburl;
	}

	public void setWeburl(String weburl) {
		this.weburl = weburl;
	}

	/**
	 * keyword
	 *
	 * @return  the keyword
	 * @since   CodingExample Ver(编码范例查看) 1.0
	 */
	
	public String getKeyword() {
		return keyword;
	}

	/**
	 * @param keyword the keyword to set
	 */
	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}


	/**
	 * iconurl
	 *
	 * @return  the iconurl
	 * @since   CodingExample Ver(编码范例查看) 1.0
	 */
	
	public String getIconurl() {
		return iconurl;
	}

	/**
	 * @param iconurl the iconurl to set
	 */
	public void setIconurl(String iconurl) {
		this.iconurl = iconurl;
	}

	/**
	 * allChkValue
	 *
	 * @return  the allChkValue
	 * @since   CodingExample Ver(编码范例查看) 1.0
	 */
	
	public String getAllChkValue() {
		return allChkValue;
	}

	/**
	 * @param allChkValue the allChkValue to set
	 */
	public void setAllChkValue(String allChkValue) {
		this.allChkValue = allChkValue;
	}

	/**
	 * channelId
	 *
	 * @return  the channelId
	 * @since   CodingExample Ver(编码范例查看) 1.0
	 */
	
	public String getChannelId() {
		return channelId;
	}

	/**
	 * @param channelId the channelId to set
	 */
	public void setChannelId(String channelId) {
		this.channelId = channelId;
	}

	/**
	 * hasAttach
	 *
	 * @return  the hasAttach
	 * @since   CodingExample Ver(编码范例查看) 1.0
	 */
	
	public boolean isHasAttach() {
		return hasAttach;
	}

	/**
	 * @param hasAttach the hasAttach to set
	 */
	public void setHasAttach(boolean hasAttach) {
		this.hasAttach = hasAttach;
	}

	/**
	 * contentHtml
	 *
	 * @return  the contentHtml
	 * @since   CodingExample Ver(编码范例查看) 1.0
	 */
	
	public String getContentHtml() {
		return contentHtml;
	}

	/**
	 * @param contentHtml the contentHtml to set
	 */
	public void setContentHtml(String contentHtml) {
		this.contentHtml = contentHtml;
	}

	public NewsVo(){
		
	}

	public String getContentId() {
		return contentId;
	}

	public void setContentId(String contentId) {
		this.contentId = contentId;
	}

	public Integer getCid() {
		return cid;
	}

	public void setCid(Integer cid) {
		this.cid = cid;
	}

	public String getContentName() {
		return contentName;
	}

	public void setContentName(String contentName) {
		this.contentName = contentName;
	}

	public String getContentStatus() {
		return contentStatus;
	}

	public void setContentStatus(String contentStatus) {
		this.contentStatus = contentStatus;
	}

	public String getTestStatus() {
		return testStatus;
	}

	public void setTestStatus(String testStatus) {
		this.testStatus = testStatus;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	@JSON(format="yyyy-MM-dd HH:mm:ss")
	public Date getLastupdatetime() {
		return lastupdatetime;
	}

	public void setLastupdatetime(Date lastupdatetime) {
		this.lastupdatetime = lastupdatetime;
	}

	public String getAttachSize() {
		return attachSize;
	}

	public void setAttachSize(String attachSize) {
		this.attachSize = attachSize;
	}

	public String getCause() {
		return cause;
	}

	public void setCause(String cause) {
		this.cause = cause;
	}

	public String getContentSummary() {
		return contentSummary;
	}

	public void setContentSummary(String contentSummary) {
		this.contentSummary = contentSummary;
	}

	public String getContentInfo() {
		return contentInfo;
	}

	public void setContentInfo(String contentInfo) {
		this.contentInfo = contentInfo;
	}

	public String getPubCompany() {
		return pubCompany;
	}

	public void setPubCompany(String pubCompany) {
		this.pubCompany = pubCompany;
	}

	public Integer getAllowScoring() {
		return allowScoring;
	}

	public void setAllowScoring(Integer allowScoring) {
		this.allowScoring = allowScoring;
	}

	public Integer getAllowComments() {
		return allowComments;
	}

	public void setAllowComments(Integer allowComments) {
		this.allowComments = allowComments;
	}

	public String getContentType() {
		return contentType;
	}

	public void setContentType(String contentType) {
		this.contentType = contentType;
	}

	public String getNewstype() {
		return newstype;
	}

	public void setNewstype(String newstype) {
		this.newstype = newstype;
	}

	public String getContenticon() {
		return contenticon;
	}

	public void setContenticon(String contenticon) {
		this.contenticon = contenticon;
	}

	/**
	 * category
	 *
	 * @return  the category
	 * @since   CodingExample Ver(编码范例查看) 1.0
	 */
	
	public String getCategory() {
		return category;
	}

	/**
	 * @param category the category to set
	 */
	public void setCategory(String category) {
		this.category = category;
	}

	/**
	 * area
	 *
	 * @return  the area
	 * @since   CodingExample Ver(编码范例查看) 1.0
	 */
	
	public String getArea() {
		return area;
	}

	/**
	 * @param area the area to set
	 */
	public void setArea(String area) {
		this.area = area;
	}

	/**
	 * note
	 *
	 * @return  the note
	 * @since   CodingExample Ver(编码范例查看) 1.0
	 */
	
	public String getNote() {
		return note;
	}

	/**
	 * @param note the note to set
	 */
	public void setNote(String note) {
		this.note = note;
	}

	public Integer getArea_province() {
		return area_province;
	}

	public void setArea_province(Integer area_province) {
		this.area_province = area_province;
	}

	public Integer getArea_city() {
		return area_city;
	}

	public void setArea_city(Integer area_city) {
		this.area_city = area_city;
	}

	public Integer getArea_county() {
		return area_county;
	}

	public void setArea_county(Integer area_county) {
		this.area_county = area_county;
	}

	public Integer getArea_street() {
		return area_street;
	}

	public void setArea_street(Integer area_street) {
		this.area_street = area_street;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public String getTrade_time() {
		return trade_time;
	}

	public void setTrade_time(String trade_time) {
		this.trade_time = trade_time;
	}

	public Integer getPark() {
		return park;
	}

	public void setPark(Integer park) {
		this.park = park;
	}

	public Integer getCard() {
		return card;
	}

	public void setCard(Integer card) {
		this.card = card;
	}

	public Integer getIsCommentAudit() {
		return isCommentAudit;
	}

	public void setIsCommentAudit(Integer isCommentAudit) {
		this.isCommentAudit = isCommentAudit;
	}

	public String getTids() {
		return tids;
	}

	public void setTids(String tids) {
		this.tids = tids;
	}

}
